package ooday03;

public class Fish extends Animals implements Swim{
    Fish(String name,int age,String color,String food){
        super(name,age,color,food);

    }
    void sayHi(){
        System.out.println("活泼的"+color+"的"+name+"已经"+age+"岁了");
    }
    public void swim(){
        System.out.println(color+"的"+name+"在游泳");
    }
}
